Skip to content

Fix jvm8 lamba related issues. #483

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Apr 16, 2015
Merged

Conversation

DarkDimius
Copy link
Contributor

No description provided.

Scalac in some location(assigns for example) assumes that tree is a Select.
In dotty it could also be an Ident.
Simulate this.
Fixes scala#477
It is known to return an actual Select.
@DarkDimius
Copy link
Contributor Author

@smarter please review.

@DarkDimius
Copy link
Contributor Author

ahh. needs to be merged after #479, as it relies on behavior introduced there.

Common interface with scalac tries not to load it it wasn't loaded already.
We need it.
This update allows to have non-static lambdas.
It doesn't mean that we should emit such,
as they are potential memory leak. See scala#480
Fixes scala#470
@DarkDimius
Copy link
Contributor Author

@odersky, please update your dependencies: https://repo1.maven.org/maven2/me/d-d/scala-compiler/2.11.5-20150416-144435-09c4a520e1/scala-compiler-2.11.5-20150416-144435-09c4a520e1.jar
This update allows to have non-static implementations of SAMs.

@smarter
Copy link
Member

smarter commented Apr 16, 2015

Lgtm

DarkDimius added a commit that referenced this pull request Apr 16, 2015
@DarkDimius DarkDimius merged commit 85b48de into scala:master Apr 16, 2015
@allanrenucci allanrenucci deleted the fix-java8-alt branch December 14, 2017 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants